<template>
  <a-layout id="components-layout-demo-top" class="layout">
    <a-layout-header>
      <a-menu
        theme="dark"
        mode="horizontal"
        :default-selected-keys="['1']"
        :style="{ lineHeight: '64px' }"
      >
       <a-menu-item key="1">
         <router-link to="/"> 人员管理</router-link>
        </a-menu-item>
   <a-menu-item key="2">
           <router-link to="/personId">人员账号查询</router-link> 
        </a-menu-item>
        <a-menu-item key="3">
          <router-link to="/timecard">人员考勤</router-link>
        </a-menu-item>
        <a-menu-item key="4">
          <router-link to="/personSort">单位人员排序</router-link>
        </a-menu-item>
        <a-menu-item key="5">
          <router-link to="/jurisdiction">人员权限设置</router-link>
        </a-menu-item>
      </a-menu>
    </a-layout-header>
    <a-layout-content style="padding: 0 50px">
      <a-breadcrumb style="margin: 16px 0">
      </a-breadcrumb>
      <div :style="{ background: '#fff', padding: '24px', minHeight: '280px' }">
      <router-view></router-view>
      </div>
    </a-layout-content>
    <a-layout-footer style="text-align: center">
      Ant Design ©2018 Created by Ant UED
    </a-layout-footer>
  </a-layout>
</template>
<script>
export default {
   
}
</script>
<style>
#components-layout-demo-top .logo {
  width: 120px;
  height: 31px;
  background: rgba(255, 255, 255, 0.2);
  margin: 16px 24px 16px 0;
  float: left;
}
</style>